package yannan.voiplock4ble.utils;

import java.util.Comparator;

/**
 * <p>name:</p>
 * <p>describe:</p>
 *
 * @author Maintel
 * @time 2016/9/26 10:09
 */
public class ComparatorLockRecord implements Comparator {
    @Override
    public int compare(Object lhs, Object rhs) {

//        LockRecordBean bean1 = (LockRecordBean) lhs;
//        LockRecordBean bean2 = (LockRecordBean) rhs;
//
//        long flag = bean1.time - bean2.time;
//
//        if(flag >=0){
//            return -1;
//        }else{
            return 1;
//        }


    }
}
